From cedb6183e91bd725076c37585aed8636442f2af3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Aug 2021 14:41:05 -0400 Subject: [PATCH] Fix imcontext tests We should force our internal im context for these tests, so we don't depend on the environment. --- testsuite/gtk/imcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/gtk/imcontext.c b/testsuite/gtk/imcontext.c index ae43b9d8b6..f6f3acf2e4 100644 --- a/testsuite/gtk/imcontext.c +++ b/testsuite/gtk/imcontext.c @@ -147,6 +147,8 @@ main (int argc, char *argv[]) { gtk_test_init (&argc, &argv, NULL); + g_object_set (gtk_settings_get_default (), "gtk-im-module", "gtk-im-context-simple", NULL); + g_test_add_func ("/im-context/text-surrounding", test_text_surrounding); g_test_add_func ("/im-context/textview-surrounding", test_textview_surrounding); -- 2.30.2